﻿
<template>
    <div>
        <el-select placeholder="请选择校区"  size="mini" v-model="pzoption.value" class="form-control filter" style="height: 34px;padding:0px">
            <el-option v-for="item in xiaoqudata"
                       :key="item.bmmc"
                       :label="item.bmmc"
                       :value="item.bmmc">
            </el-option>
        </el-select>
   
    </div>
</template>

<script>
    module.exports = {
        props: ['pzoption'],
        data() {
            return {
                xiaoqudata: [],
            };
        },
       
        methods: {
            change: function ($event) {

            }
        },
        watch: {

        },
        mounted: function () {
            var chi = this;
            chi.$nextTick(function () {
                chi.xiaoqudata = JSON.parse(localStorage.getItem("xiaoqdata"));
                chi.pzoption.value = chi.xiaoqudata[0].bmmc;

            })

        }
    };
</script>